/*
 * Copyright the original author or authors.
 * 
 * Licensed under the MOZILLA PUBLIC LICENSE, Version 1.1 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *	  http://www.mozilla.org/MPL/MPL-1.1.html
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.googlecode.milib.vo {
	
	/**
	 * @author Marek Brun
	 */
	public class Scale9VO {
		
		public var xLeft:Number;		
		public var xRight:Number;		
		public var yUp:Number;		
		public var yDown:Number;		
		
		/**
		 * @param xLeft precentage position, from 0 to 1, of left slice 		 * @param xRight precentage position, from 0 to 1, of right slice 		 * @param yUp precentage position, from 0 to 1, of up slice 		 * @param yDown precentage position, from 0 to 1, of down slice 
		 */
		public function Scale9VO(xLeft:Number=.2, xRight:Number=.8, yUp:Number=.2, yDown:Number=.8) {
			this.xLeft=xLeft;
			this.xRight=xRight;
			this.yUp=yUp;
			this.yDown=yDown;
			
		}
		
	}
}
